package io.github.talelin.latticy.service.ag;

import io.github.talelin.latticy.dto.ag.MonitoringObject.CreateOrUpdateMonitoringObjectDTO;
import io.github.talelin.latticy.model.ag.MonitoringObejctDO;

import java.util.List;

public interface MonitoringObjectService {
    MonitoringObejctDO getById(int id);
    List<MonitoringObejctDO> getMonitoringObejcts();
    //创建楼栋
    boolean createRoom(CreateOrUpdateMonitoringObjectDTO validator);
    boolean deleteById(int id);
    boolean updateMonitoringObject(MonitoringObejctDO monitoringObj,CreateOrUpdateMonitoringObjectDTO validator);
}
